package com.hecun.crm.service.impl;

import com.hecun.crm.mapper.BaseDictMapper;
import com.hecun.crm.pojo.BaseDict;
import com.hecun.crm.service.BaseDictService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by HeCun on 2017/4/23.
 */
@Service
public class BaseDictServiceImpl implements BaseDictService {
    @Autowired
    private BaseDictMapper baseDictMapper;

    @Override
    public List<BaseDict> queryBaseDictByDictTypeCode(String dictTypeCode) {
        List<BaseDict> list = baseDictMapper.queryBaseDictByDictTypeCode(dictTypeCode);
        return list;
    }
}
